#ifndef PYHP_COOKIE
#define PYHP_COOKIE

/**
 * @file cookies.h
 * Cookies management for pyhp
 */

#include <httpd.h>
#include "Python.h"
#include "mod_pyhp.h"

void pyhp_cookies_parse(PyHPData *pydata, request_rec *r);
void pyhp_cookies_write(PyHPData *pydata, request_rec *r);
void pyhp_cookies_export(PyObject *dict);

void pyhp_cookies_create_session_cookie(PyHPData * pydata, PyObject * session_id, request_rec *r);
PyObject * pyhp_cookies_get_session_cookie(PyHPData * pydata, request_rec *r);

#endif
